package com.zb.sannuo.maintenance.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zb.sannuo.common.domain.MedicalReport;
import com.zb.sannuo.common.domain.Menu;
import com.zb.sannuo.common.domain.search.SystemSettingsSearch;
import com.zb.sannuo.common.domain.vo.SystemSettingsVo;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@Mapper
public interface MenuMapper extends BaseMapper<Menu> {

//    分页
    List<Menu> queryMenu(Page page);

    //根据id删除
    int deleteMenuById(Integer menuId);

    //增加
    int addMenus(Menu menu);

    //修改
    int updateMenus(Menu menu);

}
